<?php 
class View_text extends View {
    private $text = '';
    public function __construct($text) {
        $this->text = $text;
    }
    public function display($type = '') {
        echo $this->text;
    }
}
?>